package cn.tedu.service;

import cn.tedu.pojo.User;

import java.util.List;

public interface UserService {
    public List<User> findAll();
    public void changeState(int state,String[] userIds);

    void delete(String[] userIds);

    void saveUser(User user);

    User findOneById(String userId);

    void update(User user);

    void saveUserRole(String userId, String[] roleIds);
}
